#pragma once

#include "includeBase.h"
#include "pcl/includePcl.h"

#include "../common/BasePclModel.h"
#include <pcl/range_image/range_image.h>

class MomentOfInertiaEstimationModel : public BasePclModel
{
public:
    MomentOfInertiaEstimationModel();

public:
    static MomentOfInertiaEstimationModel& get();

public: // IJsonSerializable
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    QJsonObject toJson() const override;

public: // Property
    QString pcdFile() const { return pcdFile_; }
    void setPcdFile(const QString& pcdFile) { pcdFile_ = pcdFile; }

private:
    QString pcdFile_ = "<pcl-data>/tutorials/lamppost.pcd";
};
